/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const jointlyRouter = {
  path: '/jointly',
  component: Layout,
  redirect: '/jointly/jointly_read_book_apply',
  name: '共读活动',
  meta: {title: '共读活动', icon: 'group', role: 'ADMIN'},
  children: [
    {
      path: '/jointly/jointly_read_user',
      name: '共读活动用户',
      component: () => import('@/views/jointly/jointly_read_user'),
      meta: {title: '共读活动用户', icon: 'tree', role: 'ADMIN'},
    },
    {
      path: '/jointly/jointly_read_activity_apply',
      name: '共读活动申请',
      component: () => import('@/views/jointly/jointly_read_activity_apply'),
      meta: {title: '共读活动申请', icon: 'tree', role: 'ADMIN'},
    },
    {
      path: '/jointly/jointly_read_activity',
      name: '共读活动',
      component: () => import('@/views/jointly/jointly_read_activity'),
      meta: {title: '共读活动', icon: 'tree', role: 'ADMIN'},
    }
  ]
}

export default jointlyRouter

